package org.cs.publics.model;
// Generated 2018-12-28 17:39:08 by Hibernate Tools 5.2.3.Final

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * 轮播图管理信息表
 */

/**
 * SlideShow generated by hbm2java
 */
@Entity
@Table(name = "slide_show", catalog = "good_fresh")
public class SlideShow implements java.io.Serializable {

	private Integer slideshowId;
	private String slideshowImageUrl;
	private String slideshowLink;
	private Integer slideshowState;
	private Date slideshowTime;
	private Date slideshowUpdateTime;
	private Date createTime;
	private Date updateTime;
	private String goodsHoldOne;
	private String goodsHoldTwo;

	public SlideShow() {
	}

	public SlideShow(String slideshowImageUrl, String slideshowLink, Integer slideshowState, Date slideshowTime,
			Date slideshowUpdateTime, Date createTime, Date updateTime, String goodsHoldOne, String goodsHoldTwo) {
		this.slideshowImageUrl = slideshowImageUrl;
		this.slideshowLink = slideshowLink;
		this.slideshowState = slideshowState;
		this.slideshowTime = slideshowTime;
		this.slideshowUpdateTime = slideshowUpdateTime;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.goodsHoldOne = goodsHoldOne;
		this.goodsHoldTwo = goodsHoldTwo;
	}

	@Id
	@GeneratedValue(strategy = IDENTITY)

	@Column(name = "SLIDESHOW_ID", unique = true, nullable = false)
	public Integer getSlideshowId() {
		return this.slideshowId;
	}

	public void setSlideshowId(Integer slideshowId) {
		this.slideshowId = slideshowId;
	}

	@Column(name = "SLIDESHOW_IMAGE_URL", length = 50)
	public String getSlideshowImageUrl() {
		return this.slideshowImageUrl;
	}

	public void setSlideshowImageUrl(String slideshowImageUrl) {
		this.slideshowImageUrl = slideshowImageUrl;
	}

	@Column(name = "SLIDESHOW_LINK", length = 50)
	public String getSlideshowLink() {
		return this.slideshowLink;
	}

	public void setSlideshowLink(String slideshowLink) {
		this.slideshowLink = slideshowLink;
	}

	@Column(name = "SLIDESHOW_STATE")
	public Integer getSlideshowState() {
		return this.slideshowState;
	}

	public void setSlideshowState(Integer slideshowState) {
		this.slideshowState = slideshowState;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "SLIDESHOW_TIME", length = 19)
	public Date getSlideshowTime() {
		return this.slideshowTime;
	}

	public void setSlideshowTime(Date slideshowTime) {
		this.slideshowTime = slideshowTime;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "SLIDESHOW_UPDATE_TIME", length = 19)
	public Date getSlideshowUpdateTime() {
		return this.slideshowUpdateTime;
	}

	public void setSlideshowUpdateTime(Date slideshowUpdateTime) {
		this.slideshowUpdateTime = slideshowUpdateTime;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "CREATE_TIME", length = 19)
	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "UPDATE_TIME", length = 19)
	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Column(name = "GOODS_HOLD_ONE")
	public String getGoodsHoldOne() {
		return this.goodsHoldOne;
	}

	public void setGoodsHoldOne(String goodsHoldOne) {
		this.goodsHoldOne = goodsHoldOne;
	}

	@Column(name = "GOODS_HOLD_TWO")
	public String getGoodsHoldTwo() {
		return this.goodsHoldTwo;
	}

	public void setGoodsHoldTwo(String goodsHoldTwo) {
		this.goodsHoldTwo = goodsHoldTwo;
	}

}
